package web

import (
	"fmt"
	"log"
	"net/http"
	"rlhs/fr"
)

func GetActionSequenceHandler(rw http.ResponseWriter, req *http.Request) {
	gas := fr.NewGetActionSequence()

	res, err := gas.GetActionSequence()
	if err != nil {
		log.Print(rw, err.Error())
		return
	}
	fmt.Printf("%s", res)
	fmt.Fprintf(rw, res)
}
